From 6a6489ac077da6fc3aae79b94b827c5d923027e9 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 23 May 2004 01:21:04 +0000 Subject: [PATCH] fixed weird bug causing meta to fail spectacularly --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index a25b447394..2fddef0412 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -997,7 +997,7 @@ class Parser } else { $noslash=substr($m[1],1); } - if($wgNamespacesWithSubpages[$this->mTitle->getNamespace()]) { # subpages allowed here + if(!empty($wgNamespacesWithSubpages[$this->mTitle->getNamespace()])) { # subpages allowed here $link = $this->mTitle->getPrefixedText(). "/" . trim($noslash); if( "" == $text ) { $text= $m[1]; -- 2.20.1